import React, {
    Component,
} from 'react'
import { connect } from 'react-redux';
import { View, Text, Image, StyleSheet } from 'react-native'
import { Px } from '../utils'

class SeparatorView extends Component {

    static propTypes = {

    };

    // 生命周期
    constructor(props) {
        super(props)
        this.state = {

        }
    }

    // render part
    render() {
        return (
            <View style={styles.container}>
                <View
                    style={styles.lineView}
                />
            </View>
        )
    }
}

const styles = StyleSheet.create({
    container: {
        alignItems: 'center',
        justifyContent: 'center'
    },
    lineView: {
        backgroundColor: '#e0e0e0',
        height: Px(1),
        width: '80%'
    }
})

export default SeparatorView